package com.lanou.bean;

public class Menu {
    private Integer id;

    private Integer pId;

    private String name;

    private String url;

    private String isUsed;

    public Menu(Integer id, Integer pId, String name, String url, String isUsed) {
        this.id = id;
        this.pId = pId;
        this.name = name;
        this.url = url;
        this.isUsed = isUsed;
    }

    public Menu() {
        super();
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getpId() {
        return pId;
    }

    public void setpId(Integer pId) {
        this.pId = pId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url == null ? null : url.trim();
    }

    public String getIsUsed() {
        return isUsed;
    }

    public void setIsUsed(String isUsed) {
        this.isUsed = isUsed == null ? null : isUsed.trim();
    }
}